package dao_.domain;

import java.util.Date;

/**
 * @author DCSGO
 * @version 1.0
 */
public class Performer {
    private Integer id;
    private String name;
    private String sex;
    private Date birthday;
    private String phone_number;

    public Performer() {
    }

    public Performer(Integer id, String name, String sex, Date birthday, String phone_number) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.birthday = birthday;
        this.phone_number = phone_number;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getPhone_number() {
        return phone_number;
    }

    public void setPhone_number(String phone_number) {
        this.phone_number = phone_number;
    }

    @Override
    public String toString() {
        return "\nPerformer{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", birthday=" + birthday +
                ", phone_number='" + phone_number + '\'' +
                '}';
    }
}
